<!doctype html>
<html>
  <head>
    <title>HTTP GET in JavaScript</title>
    <meta charset="utf-8"/>
    <meta http-equiv="Content-Type" name="viewport" content="width=device-width"/>
  </head>
  <body>
    <div style="white-space:pre;font-family:monospace;">
      get({
          url:"https://www.google.com",
          onLoad:function(text){
              document.write(text)},
          hostnamesUseProxy:[
              "google.com"
          ]
      })
    </div>
    <script type="text/javascript" src="./get.js"></script>
    <script type="text/javascript">
      get({
          url:"https://www.google.com",
          onLoad:function(text){
              document.write(text)},
          hostnamesUseProxy:[
              "google.com"
          ]
      })
    </script>
  </body>
</html>
